﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site_employees.Master" AutoEventWireup="true" CodeBehind="Detail_emp.aspx.cs" Inherits="Bus_proj.website.Detail_emp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <link href="../Styles/textbox.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/Stylebuttoncss.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
        .style5
        {
            width: 201px;
        }
        .style6
        {
            width: 210px;
        }
        .style7
        {
            width: 73px;
        }
        .style8
        {
            width: 121px;
        }
        .BG
        {
            width:500px;
            padding:10px;
            border:3px solid #dedede;
            background:#2F4F4F;
            filter:alpha(opacity=40); 
            opacity:0.4; 
        }
        .panal
        {
            border-radius:5px;
            -khtml-border-radius:5px;
            -moz-border-radius:5px;
            padding:10px;
            background:#F5FFFA;
            width:500px;
        }
        .style9
        {
            width: 181px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
<asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server"
    BackgroundCssClass="BG"
    PopupControlID="Panel_popup"
    TargetControlID="LinkButton1"
    CancelControlID="Button2"
    >
    </asp:ModalPopupExtender>
    <asp:Panel ID="Panel_popup" runat="server" CssClass="panal">

        <%--<asp:Label ID="Label_show" runat="server" Text="Label"></asp:Label>
        <asp:TextBox ID="TextBox_show" runat="server"></asp:TextBox>
        <asp:Button ID="Button_ok" runat="server" Text="ok" />
        <asp:Button ID="Button_cancel" runat="server" Text="cancel" />--%>
        <fieldset class="el03">
        <legend>เปลี่ยนรหัสผ่าน</legend>
        <table class="style1">
            <tr>
                <td align="right" class="style9">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" class="style9">
                    <asp:Label ID="Label21" runat="server" Text="รหัสผ่านเดิม :"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBox20" runat="server" TextMode="Password" 
                        CssClass="textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" class="style9">
                    <asp:Label ID="Label22" runat="server" Text="รหัสผ่านใหม่ :"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBox21" runat="server" TextMode="Password" 
                        CssClass="textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" class="style9">
                    <asp:Label ID="Label23" runat="server" Text="ยืนยันรหัสผ่านใหม่ :"></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="TextBox22" runat="server" TextMode="Password" 
                        CssClass="textbox"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right" class="style9">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td align="right" class="style9">
                    &nbsp;</td>
                <td>
                    <asp:Button ID="Button1" OnClientClick="return confirm('ยืนยันการทำรายการ')" 
                        runat="server" Height="34px" Text="ตกลง" 
                        Width="91px" CssClass="classname" onclick="Button1_Click" />
                    <asp:Button ID="Button2" runat="server" Height="34px" Text="ยกเลิก" 
                        Width="96px" CssClass="classname" />
                </td>
            </tr>
            <tr>
                <td align="right" class="style9">
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
        </fieldset>
    </asp:Panel>
<fieldset class="el02">
<legend>ข้อมูลพนักงาน</legend>
<table class="style1">
        <tr>
            <td align="right" class="style5">
                &nbsp;</td>
            <td class="style6">
                &nbsp;</td>
            <td class="style7">
                &nbsp;</td>
            <td align="right" class="style8">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td align="right" class="style5">
                <asp:Label ID="Label18" runat="server" Text="รหัสพนักงาน :"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="TextBox18" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
            <td class="style7">
                &nbsp;</td>
            <td align="right" class="style8">
                <asp:Label ID="Label7" runat="server" Text="บ้านเลขที่ :"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox5" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" class="style5">
                <asp:Label ID="Label1" runat="server" Text="คำนำหน้า :"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="TextBox13" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
            <td class="style7">
                &nbsp;</td>
            <td align="right" class="style8">
                <asp:Label ID="Label8" runat="server" Text="หมู่ :"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox6" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" class="style5">
                <asp:Label ID="Label2" runat="server" Text="ชื่อ :"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="TextBox1" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
            <td class="style7">
                &nbsp;</td>
            <td align="right" class="style8">
                <asp:Label ID="Label17" runat="server" Text="ซอย :"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox12" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" class="style5">
                <asp:Label ID="Label3" runat="server" Text="นามสกุล :"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="TextBox2" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
            <td class="style7">
                &nbsp;</td>
            <td align="right" class="style8">
                <asp:Label ID="Label9" runat="server" Text="ถนน :"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox7" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" class="style5">
                <asp:Label ID="Label4" runat="server" Text="เลขบัตรประชาชน :"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="TextBox3" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
            <td class="style7">
                &nbsp;</td>
            <td align="right" class="style8">
                <asp:Label ID="Label12" runat="server" Text="จังหวัด :"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox15" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" class="style5">
                <asp:Label ID="Label5" runat="server" Text="เพศ :"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="TextBox14" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
            <td class="style7">
                &nbsp;</td>
            <td align="right" class="style8">
                <asp:Label ID="Label11" runat="server" Text="เขต/อำเภอ :"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox16" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" class="style5">
                <asp:Label ID="Label6" runat="server" Text="วัน-เดือน-ปีเกิด :"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="TextBox4" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
            <td class="style7">
                &nbsp;</td>
            <td align="right" class="style8">
                <asp:Label ID="Label10" runat="server" Text="แขวง/ตำบล :"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TextBox17" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" class="style5">
                <asp:Label ID="Label13" runat="server" Text="รหัสไปรษณีย์ :"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="TextBox8" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
            <td class="style7">
                &nbsp;</td>
            <td align="right" class="style8">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td align="right" class="style5">
                <asp:Label ID="Label14" runat="server" Text="อีเมล์ :"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="TextBox9" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
            <td class="style7">
                &nbsp;</td>
            <td align="right" class="style8">
                <asp:Label ID="Label20" runat="server" Text="เปลี่ยนรหัสผ่าน :"></asp:Label>
            </td>
            <td>
                <asp:LinkButton ID="LinkButton1" runat="server">คลิกเปลี่ยน</asp:LinkButton>                
            </td>
        </tr>
        <tr>
            <td align="right" class="style5">
                <asp:Label ID="Label16" runat="server" Text="เบอร์โทรศัพท์ :"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="TextBox11" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
            <td class="style7">
                &nbsp;</td>
            <td align="right" class="style8">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td align="right" class="style5">
                <asp:Label ID="Label19" runat="server" Text="ตำแหน่งงาน :"></asp:Label>
            </td>
            <td class="style6">
                <asp:TextBox ID="TextBox19" runat="server" ReadOnly="True" CssClass="textbox"></asp:TextBox>
            </td>
            <td class="style7">
                &nbsp;</td>
            <td align="right" class="style8">
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
&nbsp;
</fieldset>
</asp:Content>
